/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package acceso.util;

/**
 *
 * @author romulogalindo
 */
public class Transaccion {
    static Transa transa = new Transa();
    
    public static void Activar_transacciones(boolean activar){
        transa.setEjecutar(activar);
    }
    
    public static boolean transa(){
        return transa.isEjecutar();
    }
    
    public static void Activar_control_error(boolean error){
        transa.setError(error);
    }
    
    public static boolean error(){
        return transa.isError();
    }
}
